package cn.hdustea.shopNavigation.ui.contract

import cn.hdustea.shopNavigation.entity.MarketSelect
import com.hdustea.base.base.IBaseModel
import com.hdustea.base.base.IBasePresenter
import com.hdustea.base.base.IBaseView
import com.hdustea.base.net.BaseCallback

/**
 * <pre>
 *     author : HuQiang
 *     time   : 2020/09/25
 *     desc   :
 *     version: 1.0
 * </pre>
 */
interface MarketSelectContract {
    interface Presenter : IBasePresenter {
        fun getMarketList()
    }

    interface View : IBaseView {
        fun setCityList(marketList: MutableList<MarketSelect>)
    }

    interface Model : IBaseModel {
        fun getMarketList(callback: BaseCallback<MutableList<MarketSelect>>)
    }
}
